A fragile ceasefire appeared to be holding in South Sudans capital Juba after four days of gun battles that have left hundreds of people dead and sent nearly 40,000 fleeing. It was too early to tell on Tuesday whether the ceasefire called by both President Salva Kiir and his longtime opponent Vice President Riek Machar would last, but the lull allowed civilians to leave their homes. There were no helicopter gunships in the sky, no tanks on the streets, no artillery barrages and soldiers in their machine gun-mounted pick-up trucks appeared to have stayed in their barracks. The calm was welcomed by Juba residents who have mostly stayed indoors for days as fighting intensified between Kiirs government forces and former rebels loyal to Machar. The situation is quiet near the airport, said local resident August Mayai. There are people in the streets. Traders returning to once-busy markets found their shops and stalls looted. Volunteers and officials from South Sudans Red Cross set about the grim task of collecting bodies of the dead. There has been no estimate so far of civilian or military casualties from the heavy clashes Sunday and Monday but Adama Dieng, the United Nations Special Advisor on the Prevention of Genocide, said some civilians were reportedly targeted based on their ethnicity. Kiir is from the Dinka tribe and Machar is a Nuer. South Sudans civil war has been characterised by ethnic massacres between the two groups -- including in Juba -- as well as rape, sexual slavery, murder and the use of child soldiers. - UN sounds alarm on aid - The head of the UN food agency said 75 percent of the population needed humanitarian aid after the fighting, adding that the World Food Programme had over 2,000 people taking shelter inside our compound with our staff. Three quarters of the population of South Sudan is in need of humanitarian assistance, WFP chief Ertharin Cousin told AFP in Amman. This latest conflict is going to push even more people into hunger and despair, she warned. The recent fighting began in earnest on Friday evening -- killing over 300 soldiers that day alone, according to government estimates -- then paused on Saturday, the countrys fifth anniversary of independence. Intense fighting resumed on Sunday. The violence has raised fears of a return to the civil war that broke out in December 2013. An August 2015 peace deal was supposed to end the conflict but has so far failed to do so, despite the return of rebel leader Machar in April to join a government of national unity alongside his enemy Kiir. On Monday evening Kiir and then Machar both ordered ceasefires after a chorus of condemnation from the United Nations, regional bloc IGAD, the United States and others. - Anything can happen - Despite the pause in fighting Juba remains on tenterhooks. We are on the lookout because anything can happen, said one resident who did not want to be named. Weve had the same situation before: we thought it was going to be fine, and it wasnt. Rashid Abdi, an analyst at the International Crisis Group think tank in Nairobi, shared that scepticism. Any cessation of fighting activities, even for a day, is welcome, he said. But whether the ceasefire will hold is another discussion. The impact of the days of violence on an already weak and scarcely implemented peace deal remains to be seen. At least 36,000 people have fled their homes in Juba since Friday, according to UN figures, with many heading for United Nations bases seeking refuge. But even there they were not safe, with the UN saying eight people were killed and 67 injured at so-called Protection of Civilian sites since Sunday. Two Chinese peacekeepers were also killed and others wounded. International flights to Juba were still suspended on Tuesday morning, although some private charter flights were able to evacuate foreigners and aid workers. South Sudan has seen more fighting than peace since independence in July 2011, with clashes continuing even after the August 2015 peace deal. Tens of thousands have died in the violence, with close to three million forced from their homes and nearly five million surviving on emergency food rations. The humanitarian crisis has unfolded alongside an economic one with the currency collapsing and inflation spiralling out of control. The countrys mainstay oil industry is in tatters and regional towns have been razed.